<template>
  <div id="user-info">
    <a href="#" class="clear-fix">
      <slot name="user-icon">
        <span class="user"></span>
      </slot>
      <div class="login-info left">
        <slot name="user-nickname">
         <div>登录/注册</div>
        </slot>
        <div class="phone">
          <slot name="user-phone">暂无绑定手机号</slot>
        </div>
      </div>
    </a>
  </div>
</template>
<script>
	export default {
		name: "UserInfo"
	}
</script>

<style scoped>
@import "../../../assets/font/font.css";
  #user-info {
    height: 60px;
    background-color: #ff8198;
    padding: 15px;
    margin-top: -5px;
  }
  .user::before{
  font-family: 'iconfont';
  content: "\e6de";
  position: absolute;
  left: 35px;
    font-size: 40px;
    margin-top: 14px;
    color: #fff;
  }
.phone::before{
  font-family: 'iconfont';
  content: "\e600";
}
  #user-info .privateImage-svg {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 30px;
  }

  .left {
    float: left;
  }

 .login-info::before{
     font-family: 'iconfont';
  content: "\e65f";
  position: absolute;
  right: 20px;
    margin-top: 20px;
 }
 #user-info .arrow-svg::before{
   font-family: 'iconfont';
  content: "\e600";
 }
  #user-info .login-info {
    color: #fff;
    margin: 10px 0 0 10px;
    width: 200px;
  }

  #user-info .login-info .phone {
    position: relative;

    font-size: 13px;
    margin-top: 5px;
    margin-left: 15px;
    font-weight: 300;
  }

  #user-info .login-info .phone .icon-mobile {
    position: absolute;
    width: 12px;
    height: 18px;
    left: -15px;
    top: 0px;
  }
</style>
